<?php declare(strict_types=1);

namespace Distributed\Contract;


use Communication\TxSocketData;

/**
 * 
 * @author mg
 *
 */
interface IEvent
{
	/**
	 * 
	 * @param int $fd
	 * @return TxSocketData []
	 */
	public function parseEvent(int $fd): ?TxSocketData;
}